package com.ruoyi.labsafety.mapper;

import java.util.List;
import com.ruoyi.labsafety.domain.LabSafetyCheckTargetOrg;

/**
 * 检查目标Mapper接口
 * 
 * @author ruoyi
 * @date 2022-03-30
 */
public interface LabSafetyCheckTargetOrgMapper 
{
    /**
     * 查询检查目标
     * 
     * @param checkTargtOrgId 检查目标ID
     * @return 检查目标
     */
    public LabSafetyCheckTargetOrg selectLabSafetyCheckTargetOrgById(Long checkTargtOrgId);

    /**
     * 查询检查目标列表
     * 
     * @param labSafetyCheckTargetOrg 检查目标
     * @return 检查目标集合
     */
    public List<LabSafetyCheckTargetOrg> selectLabSafetyCheckTargetOrgList(LabSafetyCheckTargetOrg labSafetyCheckTargetOrg);

    /**
     * 新增检查目标
     * 
     * @param labSafetyCheckTargetOrg 检查目标
     * @return 结果
     */
    public int insertLabSafetyCheckTargetOrg(LabSafetyCheckTargetOrg labSafetyCheckTargetOrg);

    /**
     * 修改检查目标
     * 
     * @param labSafetyCheckTargetOrg 检查目标
     * @return 结果
     */
    public int updateLabSafetyCheckTargetOrg(LabSafetyCheckTargetOrg labSafetyCheckTargetOrg);

    /**
     * 删除检查目标
     * 
     * @param checkTargtOrgId 检查目标ID
     * @return 结果
     */
    public int deleteLabSafetyCheckTargetOrgById(Long checkTargtOrgId);

    /**
     * 批量删除检查目标
     * 
     * @param checkTargtOrgIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteLabSafetyCheckTargetOrgByIds(Long[] checkTargtOrgIds);

    int deleteLabSafetyCheckTargetOrgByInstanceId(Long instanceId);
}
